package org.yoao.moneymachine.business.impl;

import org.yoao.moneymachine.bean.User;
import org.yoao.moneymachine.business.service.IMMLoginService;
import org.yoao.moneymachine.dao.UserDAO;

/**
 * @author  Weishion.Yi
 * @description 
 * @date 2010-10-4 下午10:48:52
 */
public class MMLoginServiceImpl implements IMMLoginService {
	private UserDAO userDAO = new UserDAO();
	
	@Override
	public User login(String userName) throws Exception {
		return userDAO.findByEmail(userName);
	}
}
